import config from "@/config"
import http from "@/utils/request"

export default {
	add: {
		url: `${config.API_URL}/taskApply/createTaskApply`,
		name: "添加审核列表",
		post: async function(data){
			return await http.post(this.url, data);
		}
	},
	list: {
		url: `${config.API_URL}/taskApply/getTaskApplyList`,
		name: "审核列表",
		get: async function(){
			return await http.get(this.url);
		}
	},
	examTask: {
		url: `${config.API_URL}/taskApply/examTask`,
		name: "审核任务",
		post: async function(param){
			return await http.post(this.url,param);
		}
	},
	rejectTask: {
		url: `${config.API_URL}/taskApply/rejectTask`,
		name: "驳回任务",
		post: async function(param){
			return await http.post(this.url,param);
		}
	},
}
